package com.mgz.ribbon;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author MiaoGuoZhu
 * @date 2018/5/4 11:08
 */
@RestController
public class WebController {
    @Autowired
    RibbonForwardCenterService RibbonForwardCenterService;
    @RequestMapping(value = "/ribbon")
    public String hi(@RequestParam String name){
        return RibbonForwardCenterService.getName(name);
    }
}
